﻿namespace Basic.Repository.Abstract.Entities.SqlSugarEntities;
public class BasicEntity : IEntity<long>, IModify, ICreator, ILogicalDeletion
{ 
    [SugarColumn(IsPrimaryKey = true)]
    public long Id { get; set; }
    public long CreatBy { get; set; }

    public DateTime CreationTime { get; set; }
    [SugarColumn(IsNullable = true)]
    public long ModifiedBy { get; set; }
    [SugarColumn(IsNullable = true)]
    public DateTime ModificationTime { get; set; }
    [SugarColumn(IsNullable = true)]

    public bool IsDeleted { get; set; }

    [SugarColumn(IsNullable = true)]
    public DateTime DeletionTime { get; set; }
}